#include<iostream>
#include"tree.h"

using namespace std;
int main()
{
	vector<int> s;
	tree t(1);
	bool i=addnote(t.root, 2, "L");
//	XXBLintree(t.root, s);
	bfs(s, t.root);
	for (int i = 0; i<(int)s.size(); i++)
	{
		cout << s[i] << " ";
	}
	system("pause");
}
